<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            购买会员
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="user_id" type="text" value="{$data['user_id']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            会员类型
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="grade_type" type="text" value="{$data['grade_type']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付金额
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="price" type="text" value="{$data['price']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付方式 0：余额  1：微信  2：支付宝
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="pay_type" type="text" value="{$data['pay_type']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            订单编号
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="order_no" type="text" value="{$data['order_no']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            交易号
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="tran_no" type="text" value="{$data['tran_no']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="pay_time" type="text" value="{$data['pay_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
